package com.dingwen.pro.demo02;

/**
 * 客户端
 *
 * @author dingwen
 * @date 2021/10/06
 */
public class Client {
    public static void main(String[] args) {
        UserServiceImpl userService = new UserServiceImpl();
        UserServiceImplProxy proxy = new UserServiceImplProxy();
        proxy.setUserService(userService);
        proxy.add();
        proxy.findById();
        proxy.remove();
        proxy.modify();
    }
}
